package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author He
 * @Date: 2020/10/22 13:46
 * @Description :
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryUser {
    private String name;
    private String title ;
    // yyyy 和 YYYY 的区别.
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date end;
    private Integer status = -1;
}
